package com.neuedu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.entity.Department;

import java.util.List;

/**
 * <p>
 * 科室表 服务类
 * </p>
 *
 * @author LiYang
 * @since 2024-11-05
 */
public interface DepartmentService extends IService<Department> {

    IPage<Department> list(Integer pageNo, Integer pageSize, String name);
    Boolean add(String code, String name, String type);
    Boolean check(String field, String value, Long id);
    Boolean del(Long id, Boolean delmark);
    Boolean update(Long id,String code, String name, String type);
    List<Department> getActive();
    List<Department> getRegisterDept();
}
